package com.sright.bcard.content.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.content.dal.entity.MessageDO;

import java.util.List;

public interface MessageDAO extends BaseDAO<MessageDO> {
    MessageDO selectByMemberId(Long memberId);
    Integer count(String keyword,  Integer status,  Integer isOpened);
    List<MessageDO> pageList(String keyword,
                                    Integer status,
                                    Integer isOpened, PageParamRequest request);
}
